/**
 * 
 */
package decorators;

import decorators.beverage.Beverage;
import decorators.beverage.DarkRoast;
import decorators.beverage.HouseBlend;
import decorators.decorator.Mocha;
import decorators.decorator.Soy;
import decorators.decorator.Whip;

/**
 * @author hoannguyen
 * 
 */
public class Main {

	private static Beverage darkRoast;
	private static Beverage houseBlend;
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {

		darkRoast = new DarkRoast();
		darkRoast = new Mocha(darkRoast);
		darkRoast = new Soy(darkRoast);
		System.out.println(darkRoast.getDescription());
		System.out.println(darkRoast.cost());

		System.out.println("==================================================");

		houseBlend = new HouseBlend();
		houseBlend = new Whip(houseBlend);
		System.out.println(houseBlend.getDescription());
		System.out.println(houseBlend.cost());
	}
}
